package com.genexususa.eo.forddirect.data;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.HashMap;


public class Properties {

    public static HashMap<String, String> getFordDirectProperties() throws IOException {

        HashMap<String, String> prop = null;

        java.util.Properties properties = new java.util.Properties();
        properties.load(new FileInputStream("src/main/resources/fd.properties"));
        prop = new HashMap<String, String>();
        prop.put("userName", properties.getProperty("userName"));
        prop.put("password", properties.getProperty("password"));

        return prop;

    }

}
